package com.starlink.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("运费模板请求模型")
public class FreeTemplateRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("模板名称")
    private String tempName;
    @ApiModelProperty("是否包邮 0不包邮 1包邮 ")
    private Integer freeOrNot;
    @ApiModelProperty("计价方式 0按件 1按重量 2按体积")
    private Integer valuationModel;
    @ApiModelProperty("是否指定包邮条件 0否 1是")
    private Integer freeOrNotCondition;
    @ApiModelProperty("排序")
    private Long sortNum;
}
